package com.huawei.appmarket.service.usercenter.personal.view.card;

import android.content.Context;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import com.huawei.appgallery.foundation.ui.framework.cardkit.bean.CardBean;
import o.azb;
import o.cgz;
import o.der.d;

public class PersonalNormalCard extends BasePersonalCard {
    protected Context ˊ;
    protected TextView ˋ;
    protected ImageView ˎ;
    public View ˏ = null;
    private ImageView ॱ;

    public PersonalNormalCard(Context context) {
        super(context);
        this.ˊ = context;
    }

    public cgz ˏ(View view) {
        azb.ˏ(view);
        this.ˎ = (ImageView) view.findViewById(d.ॱـ);
        this.ʿ = (TextView) view.findViewById(d.ॱˍ);
        this.ˏ = view.findViewById(d.ˋˉ);
        this.ˏ.setVisibility(0);
        this.ॱ = (ImageView) view.findViewById(d.ॱˑ);
        this.ˋ = (TextView) view.findViewById(d.ⁱ);
        ʽ(view);
        return this;
    }

    public void ˏ(CardBean cardBean) {
        this.ˊᐝ = cardBean;
    }

    void ˏ(boolean z) {
        if (this.ˏ != null) {
            this.ˏ.setVisibility(z ? 0 : 8);
        }
    }

    void ˎ(boolean z) {
        if (this.ॱ != null) {
            this.ॱ.setVisibility(z ? 0 : 8);
        }
    }
}
